package com.project.webservice.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project.webservice.entity.JkXlbcsk;
import com.project.webservice.mapper.JkXlbcskMapper;
import com.project.webservice.service.JkXlbcskService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
@DS("master")
public class JkXlbcskServiceImpl extends ServiceImpl<JkXlbcskMapper, JkXlbcsk> implements JkXlbcskService {
    @Override
    public IPage searchByPage(Page page, JkXlbcsk jkXlbcsk) {
        return super.page(page, Wrappers.<JkXlbcsk>lambdaQuery());
    }
}
